package com.chinasofti1.info_manager.dao;

import com.chinasofti1.info_manager.domain.Student;

public abstract interface BaseStudentDao {
    //查询id是否存在
    public  abstract int  getIndex(String id);
    //添加学生
    public abstract boolean addStudent(Student stu) ;


    public abstract Student[] findAllStudent() ;


    public  abstract void deleteStudentById(String id) ;


    public  abstract void updateStudent(String updateId, Student newStu) ;
}
